var server = require("./service");
var router = require("./router");
var mongoHandlers = require("./mongoHandlers");

var handle = {};

handle['create'] = mongoHandlers.createBookEx;
handle['delete'] = mongoHandlers.removeBook;
handle['get'] = mongoHandlers.listBooks;
//handle['update'] = mongoHandlers.retrieveEmailCountFromMDB;

server.service( router.route, handle );
